package ca.scotthyndman.as2haxe.dom;

import java.util.List;

/**
 * A scoped element holds the functions and variables defined before a child
 * scoped element.
 */
public interface IScopeElement {

	public void addToScope(ASVariableDeclaration variable);

	public void addToScope(ASFunction variable);

	public List<ASVariableDeclaration> getVariablesInScope();

	public List<ASFunction> getFunctionsInScope();
}
